package com.dragon.mmochat.model;

public class MmochatHistoryChat implements Comparable<MmochatHistoryChat> {
	private String chat;
	private long chatTime;

	public String getChat() {
		return chat;
	}

	public void setChat(String chat) {
		this.chat = chat;
	}

	public long getChatTime() {
		return chatTime;
	}

	public void setChatTime(long chatTime) {
		this.chatTime = chatTime;
	}

	@Override
	public int compareTo(MmochatHistoryChat o) {
		return (int) (chatTime - o.getChatTime());
	}

}
